<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
	</head>
	<body>
		<div id="app">
			{{msg}}<br>
			<button @click="add">按了{{count}}</button>
			
			<div id="">
				{{count}}
			</div>
		</div>
		
		<script type="text/javascript">
			const vm=Vue.createApp(
			{
				data(){
					return{
						msg:"he;;o",
						count:0
					}
				},
				methods:{
					add()
					{
						this.count++
					}
				}
			})
			vm.mount("#app")
		</script>
	</body>
</html>
